<?php
/**
 * @file collection.php
 * @author LJ (liangjian@haibao.com)
 * @date 2015年11月25日 上午11:31:38
 * @brief 
 */
namespace haibao\app\model\data;

class Collection extends Base{
    
    public $Filename;

    public $UserId;

    public $Description;

    public $OldPicId;
    
    public $ImageId;
    
    public $AlbumId;
    
    public $CreateTime;

    public function __construct(){
        parent::__construct();

        $this->intField('Filename', 'Filename', true);
        $this->intField('UserId', 'UserId', true);
        $this->intField('Description', 'Description', false);
        $this->dateField('OldPicId', 'OldPicId', false);
        $this->dateField('ImageId', 'ImageId', true);
        $this->dateField('AlbumId', 'AlbumId', false);
        $this->dateField('CreateTime', 'CreateTime', true);

        $this->setTableName('Collection');
    }
} 